package com.cz;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

import com.cz.filter.SimpleFilter;

@SpringBootApplication
@EnableZuulProxy
public class Application {

	@Bean
	public SimpleFilter simpleFilter() {
		return new SimpleFilter();
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		new SpringApplicationBuilder(Application.class).web(true).run(args);
	}

}
